namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_RPT_RC_LMS_DAY")]
    public partial class V_RPT_RC_LMS_DAY
    {
        [Key]
        public decimal? INDEX_NO { get; set; }

        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        public DateTime? PLAN_DATE { get; set; }

        public decimal? STATS_YEAR { get; set; }

        public decimal? STATS_MONTH { get; set; }

        public decimal? STATS_DAY { get; set; }

        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        [StringLength(4)]
        public string MINE_ID { get; set; }

        [StringLength(4)]
        public string MINE_NAME { get; set; }

        [StringLength(40)]
        public string MATERIEL_ID { get; set; }

        [StringLength(50)]
        public string MATERIEL_NAME { get; set; }

        [StringLength(40)]
        public string SUPPLIER_ID { get; set; }

        [StringLength(50)]
        public string SUPPLIER_NAME { get; set; }

        [StringLength(40)]
        public string TRANSPORT_ID { get; set; }

        [StringLength(50)]
        public string TRANSPORT_NAME { get; set; }

        public decimal? GROSS { get; set; }

        public decimal? TARE { get; set; }

        public decimal? NET { get; set; }

        public decimal? COEFFECENT { get; set; }

        public decimal? CUTBILL { get; set; }

        public decimal? BALANCE { get; set; }

        public decimal? CARCOUNT { get; set; }

        public decimal? BILL_WEIGHT { get; set; }

        public DateTime? UPDATE_TIME { get; set; }

        [StringLength(40)]
        public string MAKE_CODE { get; set; }

        [StringLength(40)]
        public string TEST_CODE { get; set; }

        public bool? MAKE_TYPE { get; set; }

        public decimal? MT { get; set; }

        public decimal? MAD { get; set; }

        public decimal? AAD { get; set; }

        public decimal? AD { get; set; }

        public decimal? AAR { get; set; }

        public decimal? VAD { get; set; }

        public decimal? VD { get; set; }

        public decimal? VAR { get; set; }

        public decimal? VDAF { get; set; }

        public decimal? FCAD { get; set; }

        public decimal? CRC { get; set; }

        public decimal? STAD { get; set; }

        public decimal? STD { get; set; }

        public decimal? STAR { get; set; }

        public decimal? STDAF { get; set; }

        public decimal? QBAD { get; set; }

        public decimal? QGRAD { get; set; }

        public decimal? QGRD { get; set; }

        public decimal? QNETAR_MJ { get; set; }

        public decimal? QNETAR_KCAL { get; set; }

        public decimal? HAD { get; set; }

        public byte? APPROVAL_STATUS { get; set; }
    }
}
